package com.example.wechat.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.example.project.annotation.Excel;
import com.example.project.core.domain.BaseEntity;

/**
 * 微信群聊对象 t_wechat_group
 * 
 * @author ruoyi
 * @date 2025-11-12
 */
public class WechatGroup extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 群聊ID */
	private Long id;

	/** 群聊名称 */
	@Excel(name = "群聊名称")
	private String groupName;

	/** 群头像 */
	@Excel(name = "群头像")
	private String groupAvatar;

	/** 群主用户ID */
	@Excel(name = "群主用户ID")
	private String groupOwner;

	/** 群描述 */
	@Excel(name = "群描述")
	private String groupDesc;

	/** 最大成员数 */
	@Excel(name = "最大成员数")
	private Long maxMembers;

	/** 当前成员数 */
	@Excel(name = "当前成员数")
	private Long currentMembers;

	/** 群类型（1：普通群，2：工作群，3：临时群） */
	@Excel(name = "群类型", readConverterExp = "1=：普通群，2：工作群，3：临时群")
	private Long groupType;

	/** 状态（0：解散，1：正常） */
	@Excel(name = "状态", readConverterExp = "0=：解散，1：正常")
	private Long status;

	/** 删除标志（0：正常，1：删除） */
	private Long delFlag;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupAvatar(String groupAvatar) {
		this.groupAvatar = groupAvatar;
	}

	public String getGroupAvatar() {
		return groupAvatar;
	}

	public void setGroupOwner(String groupOwner) {
		this.groupOwner = groupOwner;
	}

	public String getGroupOwner() {
		return groupOwner;
	}

	public void setGroupDesc(String groupDesc) {
		this.groupDesc = groupDesc;
	}

	public String getGroupDesc() {
		return groupDesc;
	}

	public void setMaxMembers(Long maxMembers) {
		this.maxMembers = maxMembers;
	}

	public Long getMaxMembers() {
		return maxMembers;
	}

	public void setCurrentMembers(Long currentMembers) {
		this.currentMembers = currentMembers;
	}

	public Long getCurrentMembers() {
		return currentMembers;
	}

	public void setGroupType(Long groupType) {
		this.groupType = groupType;
	}

	public Long getGroupType() {
		return groupType;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Long getStatus() {
		return status;
	}

	public void setDelFlag(Long delFlag) {
		this.delFlag = delFlag;
	}

	public Long getDelFlag() {
		return delFlag;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("groupName", getGroupName()).append("groupAvatar", getGroupAvatar())
				.append("groupOwner", getGroupOwner()).append("groupDesc", getGroupDesc())
				.append("maxMembers", getMaxMembers()).append("currentMembers", getCurrentMembers())
				.append("groupType", getGroupType()).append("status", getStatus()).append("createTime", getCreateTime())
				.append("updateTime", getUpdateTime()).append("delFlag", getDelFlag()).toString();
	}
}
